<html ng-app="ionicApp">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
	<title></title>
	<link href="css/ionic.css" rel="stylesheet">
	<link rel="stylesheet" href="css/bangkeapp.css" />
	<script src="js/ionic.bundle.js"></script>
	<script type="text/javascript" src="js/base64.js"></script>
	<script type="text/javascript" src="js/qrcode.min.js" ></script>
	<script>
var bangkeapp = angular.module('ionicApp', ['ionic']);
// 注册成功
bangkeapp.controller('registerok', ["$scope", 
    function($scope) {
		var base = new Base64();  
        var str = base.encode("reference=平台"); 
		// 设置参数方式
		var qrcode = new QRCode('qrcode', {
			text: "http://app.bangkeapp.cn/register.html?" + str,
			width: 250,
			height: 250,
			colorDark: '#f69c00',
			colorLight: '#ffffff',
			correctLevel: QRCode.CorrectLevel.H
		});
    }
]);
	</script>
</head>

<body class="register" ng-controller="registerok">
	<div class="bar bar-header">
		<div class="h1 title" style="color:#fff">云联帮客</div>
	</div>
	<div class="logo">
		<div></div>
	</div>
	<div style="width:100%;height:80%; margin: .8rem auto;">
		<div id="qrcode" style="width: 250px;height: 250px; margin: 0 auto; color:#f69c00">
	    </div>
    </div>
</body>

</html>